package OODay03;

public class Test {
    public static void main(String[] args) {
        //狗
        Dog dog = new Dog("大黄",2,"黄");
        dog.eat();
        dog.drink();
        dog.lookhome();

        Dog dog1 = new Dog("大绿",2,"绿");
        dog1.eat();
        dog1.drink();
        dog1.lookhome();

        Dog dog2 = new Dog("大紫",2,"紫");
        dog2.eat();
        dog2.drink();
        dog2.lookhome();

        //鸡
        Chick chick = new Chick("小黄",3,"黄");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Chick chick1 = new Chick("小紫",3,"紫");
        chick1.eat();
        chick1.drink();
        chick1.layEggs();

        Chick chick2 = new Chick("小绿",3,"绿");
        chick2.eat();
        chick2.drink();
        chick2.layEggs();

        //鱼
        Fish fish = new Fish("小黑",4,"黑");
        fish.eat();
        fish.drink();

        Fish fish1 = new Fish("小青",4,"青");
        fish1.eat();
        fish1.drink();

        Fish fish2 = new Fish("小马",4,"棕");
        fish2.eat();
        fish2.drink();

    }
}
